package com.mcode.blog.service;

import com.mcode.blog.vo.CommentVo;
import com.mcode.blog.vo.params.CommentParams;

import java.util.List;

public interface CommentsService {

    /**
     * 通过文章id获取评论
     *
     * @param articleId
     * @return
     */
    List<CommentVo> getCommentByArticleId(Long articleId);


    /**
     * 评论
     *
     * @param commentParams
     */
    void comment(CommentParams commentParams);
}
